/* tcpputc.c - tcpputc */

#include "defines.h"
#include "tcpfms.h"

extern int tcpwr(int tcbnum, u_char *pch, unsigned len, int isurg);

/*------------------------------------------------------------------------
 *  tcpputc  -  write one character to a TCP pseudo-device
 *------------------------------------------------------------------------
 */
int tcpputc(int tcbnum, unsigned char ch)
{
	return tcpwr(tcbnum, &ch, 1, TWF_NORMAL);
}
